package com.webinsky.common.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtils {
	public static final String DATE_FORMAT_YYYYMMDD_HHmmss = "yyyy-MM-dd HH:mm:ss";
	/**
	 * 日期format
	 * @param date
	 * @return
	 */
	public static String format(Date date){
		SimpleDateFormat format = new SimpleDateFormat(DATE_FORMAT_YYYYMMDD_HHmmss);
		return format.format(date);
	}
}
